/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package service;

import java.util.List;

/**
 *
 * @author CIAO
 */
public class UserImpl implements User{

    private dao.User userDao;

    public dao.User getUserDao() {
        return userDao;
    }

    public void setUserDao(dao.User userDao) {
        this.userDao = userDao;
    }
    
    public List<domain.User> getAll() {
        return userDao.getAll();
    }

    public domain.User getDetail(int id) {
        return userDao.getDetail(id);
    }

}
